package McFacebook;

import static java.lang.String.format;

import com.restfb.Facebook;

public class McComment 
{
	
	@Facebook("fromid")
	long fromid;
	
	@Facebook("time")
	long time;
	
	@Facebook("text")
    String text;

	@Facebook("id")
    String id;
	
	@Facebook("likes")
	int likes;
	
	@Facebook("user_likes")
	boolean user_likes;
	
	
    public String toString() 
    {
      return format("\nComentario: %s\nTime: %s \nText: %s \nFrom: %s \nLikes: %s\n", id, time, text, fromid, likes);
    }


	public long getFromid() {
		return fromid;
	}


	public long getTime() {
		return time;
	}


	public String getText() {
		return text;
	}


	public String getId() {
		return id;
	}


	public int getLikes() {
		return likes;
	}


	public boolean isUser_likes() {
		return user_likes;
	}
    
    
    
}
